<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/11/11
 * Time: 11:38
 */

//电子口岸接口地址
define('BOYE_SYS_NAME',true);
//项目名称
define("PROJECT_NAME","itboye_guannan");

//cdn资源，目前为一些第三方js，css库
define("ITBOYE_CDN","http://127.0.0.1/github/itboye_cdn/cdn");
//用于PHP端调用接口的配置
define("CLIENT_ID","by571846d03009e1");
define("CLIENT_SECRET","964561983083ac622f03389051f112e5");
// 必须定义
define('UC_DB_DSN', 'mysql://root:1@127.0.0.1:3306/itboye_te'); // 数据库连接，使用Model方式调用API必须配置此项
//以上参数依据机子环境变化可能改变

return array(
    'SITE_URL'=>'http://127.0.0.1/github/itboye_guannan_admin',
    'API_URL'=>'http://api.guannan.8raw.com/public/index.php',
    // 数据库配置
    'DB_HOST'                   =>  '127.0.0.1',//rdsrrbifmrrbifm.mysql.rds.aliyuncs.com
    'DB_NAME'                   =>  'itboye_te', //boye_ceping
    'DB_USER'                   =>  'root',//boye
    'DB_PWD'                    =>  '1',//bo-ye2015BO-YE
    'DB_PORT'                   =>  '3306',
    'DB_PREFIX'                 =>  'itboye_',
    //调试
    'LOG_DB_CONFIG'=>array(
        'dsn'=>UC_DB_DSN //本地日志数据库,目前跟用户中心一样的数据库链接陪着
    ),
    //图片上传远程服务器地址
    'UPLOAD_PICTURE_REMOTE_URL' =>'http://api.guannan.8raw.com/public/index.php/file/curl_upload',
    'PICTURE_REMOTE_URL' =>'http://api.guannan.8raw.com/public/index.php/picture/index?id=',
    
    //小周的socketlog 用户名
    'XSOCKET_LOG_USER' => 'xiao',
    'XSOCKET_LOG' => true,
);